<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head>
    <meta charset="UTF-8">
    <title>用户信息详情</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet"/>
</head>
<body th:object="${peUser}" class="container">
<div>
    <h2 align="center">用户信息表</h2>
</div>
<div align="right">
    <a th:href="@{/pe/peUserManage/toEditPeUser(id=${peUser.id})}" class="btn btn-info">编辑</a>
    <a sec:authorize = "hasRole('ADMIN')" th:href="@{/pe/peUserManage/toDeletePeUser(id=${peUser.id})}" class="btn btn-info">删除</a>
    <a sec:authorize = "hasRole('ADMIN')" th:href="@{/pe/peUserManage/toSqPeUser(id=${peUser.id})}" class="btn btn-info">授权</a>
    <a th:href="@{/pe/peItemsIndex(id=${peUser.id})}" class="btn btn-info">体检信息</a>
    <a onclick="javascript:window.history.go(-1)" class="btn btn-info">返回</a>
</div>
<div style="margin-top: 10px">
    <table class="table table-bordered">
        <tbody>
        <tr>
            <td>姓名</td>
            <td th:text="*{name}" ></td>
            <td>身份证号</td>
            <td th:text="*{idNumber}" th:align="left"></td>
        </tr>
        <tr>
            <td>学号</td>
            <td th:text="*{sid}" ></td>
            <td>年龄</td>
            <td th:text="*{age}" th:align="left"></td>
        </tr>
        <tr>
            <td>性别</td>
            <td th:text="*{gender}"></td>
            <td>民族</td>
            <td th:text="*{nation}"> </td>
        </tr>
        <tr>
            <td>学院</td>
            <td th:text="*{xueyuan}"></td>
            <td>班级</td>
            <td th:text="*{banji}"> </td>
        </tr>
        <tr>
            <td>电话</td>
            <td th:text="*{phone}"></td>
            <td>邮箱</td>
            <td th:text="*{email}"> </td>
        </tr>
        <tr>
            <td>地址</td>
            <td th:text="*{address}"colspan="3"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
